﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="members.aspx.vb" Inherits="HauntedNetworkingSite.members" %>

<%@ Register src="Banner.ascx" tagname="Banner" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Members</title>
    <link href="StyleSheet2.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <uc1:Banner ID="Banner1" runat="server" />
        
    <h1>
            &nbsp;</h1>
            </br>
            </br>
        <h1 class="style1">&nbsp;</h1>
        
        <br />
        <br />
        
    </div>
    <asp:SqlDataSource ID="MembersDataSource" runat="server" 
        ConnectionString="<%$ ConnectionStrings:PlacesConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:PlacesConnectionString.ProviderName %>" 
        SelectCommand="SELECT [ProfileImage], [UserName] FROM [UserInformation]"></asp:SqlDataSource>
    <br />
    <asp:DataList ID="DataList1" runat="server" DataSourceID="MembersDataSource" 
        RepeatColumns="5" RepeatDirection="Horizontal" RepeatLayout="Flow" 
        ShowFooter="False" ShowHeader="False" HorizontalAlign="Center" GridLines="None" CssClass="gridclass">
        <ItemTemplate>
            &nbsp;<asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("ProfileImage") %>' />
            <br />
            <asp:HyperLink ID="UserNameLink" runat="server" 
                NavigateUrl='<%# Eval("UserName", "memberprofile.aspx?UserName={0}") %>' 
                Text='<%# Eval("UserName", "{0}") %>'></asp:HyperLink>
            <br />
            <br />
        </ItemTemplate>
    </asp:DataList>
    <br />
    </form>
</body>
</html>
